﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace Laoyang.Web.Controllers
{
    public class MainController : Controller
    {
        public IActionResult Index()
        {
            return Content("index is come in !!!" + HttpContext.Session.GetString("username"));
        }

        public IActionResult Index2()
        {
            return Content("index2 is coming !!!" + HttpContext.Session.GetString("username"));
        }
    }
}